﻿@{
    ViewBag.Title = "ReadyToPrintDoc";
}

@using (Html.BeginForm())
{
    <div>
    @{Html.RenderPartial("ManageTable");}
    <div style="text-align:center">
    <input type="submit" class="BPrint" value="In" />
    <input type="submit" value="Đánh dấu hoàn thành" />
    </div>
    </div>
}

<script type="text/javascript">
    $(document).ready(function () {
        $(".BPrint").live("click", function (event) {
                var oWindow = window.open("@ViewBag.Des", "print");
            return false;
        });
    });
</script>